package com.xhs;

import cn.hutool.core.util.StrUtil;
import com.ouyeelf.production.sdk.ClientConfig;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @desc:
 * @projectName: maven-package-demo
 * @author: xhs
 * @date: 2023-10-28 028 11:04
 * @version: JDK 1.8
 */
@Slf4j
@SpringBootApplication
public class App {

    public static void main(String[] args) {
        String uuid = StrUtil.uuid();
        log.info("---------uuid:{}---------", uuid);
        ClientConfig config = ClientConfig.builder()
                .setLogWire(log::info)
                .setAppId("1234")
                .setSecretKey("456");
        log.info("---------config:{}---------", config);
        SpringApplication.run(App.class, args);
    }
}
